(function() {
  var __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  this.AuthorsBooksModel = (function(_super) {

    __extends(AuthorsBooksModel, _super);

    function AuthorsBooksModel() {
      return AuthorsBooksModel.__super__.constructor.apply(this, arguments);
    }

    AuthorsBooksModel.prototype.defaults = {
      AuthorsBooks: [],
      Categories: [],
      AuthorId: ''
    };

    AuthorsBooksModel.prototype.url = function() {
      var url;
      url = SiteMap.Authors.Show + "/" + this.attributes.AuthorId;
      return url;
    };

    AuthorsBooksModel.prototype.parse = function(response) {
      var attr;
      return attr = {
        AuthorsBooks: response.AuthorsBooks,
        Categories: response.Categories
      };
    };

    return AuthorsBooksModel;

  })(Backbone.Model);

}).call(this);
